Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / Extensions Class / MakeRelative Method / MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>) Method
System.Windows.Controls.Primitives.Popup to handle.
Element used to locate the popup.
Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.

In This Topic
    MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>) Method
    In This Topic
    Makes the popup relative to another System.Windows.FrameworkElement.
    Syntax
    'Declaration
     
    
    <ExtensionAttribute()>
    Public Overloads Shared Sub MakeRelative( _
       ByVal popup As Popup, _
       ByVal relativeElement As FrameworkElement, _
       ByVal getLocations As Func(Of List(Of AnchorMatching)) _
    ) 

    Parameters

    popup
    System.Windows.Controls.Primitives.Popup to handle.
    relativeElement
    Element used to locate the popup.
    getLocations
    Function that provides the ordered list of AnchorMatching defining the corners to bound of both elements.
    See Also